<template>
    <div>
        <template v-if="element.type=='card'">
            <CoverCard :id="element.id" :card="element.card">

            </CoverCard>
        </template>
        <template v-else-if="element.type=='textboard'">

        </template>
    </div>
</template>

<script setup lang="ts">
import CoverCard from '@/components/card/CoverCard.vue';
import type { element } from '@/ts/element';

const props = defineProps<{
    element:element
}>()
</script>

<style scoped>

</style>